for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
import React from 'react'
import ReactSVG from 'react-svg'
import PropTypes from 'prop-types'
import account from '../images/account.svg'
class HelpControl extends React.Component {
handleButtonClick() {
location.href =
'https://arizona-primo.hosted.exlibrisgroup.com/primo-explore/account?vid=01UA§ion=overview'
}
render() {
return (
<div className="header__control">
<button
className="header__control-button"
onClick={this.handleButtonClick}
>
<div className="header__control-icon">
<ReactSVG path={account} />
</div>
My account
</button>
)
export default HelpControl